package com.situ.edu.service;

import com.situ.edu.pojo.entity.Elective;
import com.situ.edu.pojo.entity.Student;
import com.situ.edu.pojo.query.CourseQuery;
import com.situ.edu.pojo.query.StudentQuery;
import com.situ.edu.util.PageInfo;

import java.util.List;

public interface IStudentCouService {
    PageInfo selectByPage(CourseQuery courseQuery);

    void add(Elective elective);
    

    List<Student> selectAll();

    void update(Elective elective); // 目前没有用了

    Student selectById(int id);

    //Student selectById(String name);

    void updateStu(Student student);


    void addElective(int id, int courseId);
}
